package com.zmc.dynamic.shard.rule.service;



import com.zmc.dynamic.shard.constant.ShardingTablePrefixConstant;

import java.util.Collection;
import java.util.Set;

public abstract class AbstractShardingRuleService implements ShardingRuleService{


    @Override
    public Set<String> doShard(Collection<String> collection, String column, Collection<String> values) {
        return getTables(collection, column, values);
    }

     protected abstract Set<String> getTables(Collection<String> collection, String column, Collection<String> values);


}
